package cool.taomu.web.test

import cool.taomu.utils.h2.H2Utils
import cool.taomu.web.entity.StockIndustryEntity
import cool.taomu.web.utils.StockDataUtils
import org.junit.Test
import cool.taomu.web.controller.StockDataController

class GetDataTest {
	
	
	@Test
	def void netStockTest(){
		StockDataUtils.getInstance();
		val h2 = new H2Utils();
		//var industrys = h2.select("select industry from stock_data group by industry order by industry desc");
		//println(industrys)
	}

	def void b(float zrspj){
		var zt = zrspj + zrspj * 0.1	
		var dt = zrspj - zrspj * 0.1	
		println(zt);
		println(dt);
	}
}
